<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head th:include="common/head :: head">

<body style="padding: 20px;margin-top: 10px;">
    <!--<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">-->
        <!--<legend>新增商机</legend>-->
    <!--</fieldset>-->
    <form class="layui-form">

        <div class="layui-form-item">
            <label class="layui-form-label">商机名字：</label>
            <div class="layui-input-inline">
                <input type="text" name="title" required id="name"  lay-verify="required" autocomplete="off" placeholder="请输入商机名字（必填）" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">联系人名：</label>
            <div class="layui-input-inline">
                <input type="text" name="title" required id="username"  lay-verify="required" autocomplete="off" placeholder="请输入联系人名字（必填）" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">性别：</label>
            <div class="layui-input-block">
                <input type="radio" name="sex" class="bo-ia-sex" value="男" title="男" checked="">
                <input type="radio" name="sex" class="bo-ia-sex"  value="女" title="女">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">职位：</label>
            <div class="layui-input-inline">
                <input type="text" name="title" id="position" lay-verify="title" autocomplete="off" placeholder="请输入职位" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">邮编：</label>
            <div class="layui-input-inline">
                <input type="text" name="title" id="zipcode" lay-verify="title" autocomplete="off" placeholder="请输入邮编" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">网站：</label>
            <div class="layui-input-inline">
                <input type="text" name="title" id="website" lay-verify="url" autocomplete="off" placeholder="请输入网站" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">信息来源：</label>
            <div class="layui-input-inline">
                <input type="text" name="title" id="source" lay-verify="title" autocomplete="off" placeholder="请输入信息来源" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">经办人：</label>
            <div class="layui-input-inline">
                <input type="text" id="contact" lay-verify="title" autocomplete="off" placeholder="请输入职位" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">手机号码：</label>
                <div class="layui-input-inline">
                    <input type="text" name="phone" id="phone" lay-verify="required|phone" autocomplete="off" placeholder="请输入手机号码（必填）" class="layui-input">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">邮箱号码：</label>
                <div class="layui-input-inline">
                    <input type="text" name="email" id="mailbox" autocomplete="off"  placeholder="请输入邮箱号码" class="layui-input">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">传真号码：</label>
                <div class="layui-input-inline">
                    <input type="text" name="fax" id="fax" autocomplete="off"  placeholder="请输入传真" class="layui-input">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">QQ号码：</label>
                <div class="layui-input-inline">
                    <input type="text" name="qq" id="qq" autocomplete="off"  placeholder="请输入QQ号码" class="layui-input">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">微信号码：</label>
                <div class="layui-input-inline">
                    <input type="text"  id="weChat"  autocomplete="off"  placeholder="请输入微信号码" class="layui-input">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">选择地区</label>
            <div class="layui-input-inline">
                <select name="provid" id="provid" lay-filter="provid">
                    <option value="">请选择省</option>
                </select>
            </div>
            <div class="layui-input-inline">
                <select name="cityid" id="cityid" lay-filter="cityid">
                    <option value="">请选择市</option>
                </select>
            </div>
            <div class="layui-input-inline">
                <select name="areaid" id="areaid" lay-filter="areaid">
                    <option value="">请选择县/区</option>
                </select>
            </div>
            <div class="layui-input-inline">
                <input type="text" name="title" id="address" lay-verify="required" autocomplete="off" placeholder="输入详细地址" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">信息等级：</label>
                <div class="layui-input-inline">
                    <select name="modules" lay-verify="required" lay-search="" id="level">
                        <option value="0">直接选择或搜索选择</option>
                        <option value="1">一类客户</option>
                        <option value="2">二类客户</option>
                        <option value="2">三类客户</option>
                    </select>
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">跟进状态：</label>
                <div class="layui-input-inline">
                    <select name="modules" lay-verify="required" id="state" lay-search="">
                        <option value="0">直接选择或搜索选择</option>
                        <option value="1">状态一（检索到）</option>
                        <option value="2">状态二（搜索到）</option>
                        <option value="2">状态三（有意向）</option>
                    </select>
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">备注说明：</label>
                <div class="layui-input-block">
                    <textarea placeholder="请输入内容" class="layui-textarea" id="remarks"></textarea>
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1" id="closeIframe" onclick="addbusinessOpportunityItems()">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>

</body>
<link rel="stylesheet" href="./css/stype/businessOpportunity-items-add.css">
<div th:include="common/js :: js"></div>
<script src="./js/liandong/data.js"></script>
<script src="./js/liandong/province.js"></script>
<script src="./js/businessOpportunity-items-add.js"></script>


</html>